package com.tongji.diy.event
{
	/**
	 * 
	 * @author xxj
	 * 
	 */
	
	import flash.events.Event;
	import flash.geom.Vector3D;
	
	public class UploadRoomPositionEvent extends Event
	{
		public static const UPLOAD_ROOM_POSITION:String = "uploadRoomPosition";
		
		public var roomIndex:uint;
		public var position:Vector3D;
		public var register:Boolean;
		
		public function UploadRoomPositionEvent(type:String, roomIndex:uint, position:Vector3D, register:Boolean = false)
		{
			super(type);
			this.roomIndex = roomIndex;
			this.position = position;
			this.register = register;
		}
		
		override public function clone():Event
		{
			return new UploadRoomPositionEvent(type, roomIndex, position, register);
		}
	}
}